import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
    redirect:"login"
    },
    {
      path: '/login',

      component: () => import('../views/housenumber/LoginView.vue')
    },
    {
      path: '/add',

      component: () => import('../views/housenumber/HouseNumberAddView.vue')
    },
    {
      path: '/list',

      component: () => import('../views/housenumber/HouseNumberListView.vue')
    }

  ]
})

export default router
